package com.fyy.content.service;

import com.fyy.content.model.dto.AddOrUpdateTeachPlanDTO;
import com.fyy.content.model.dto.TeachPlanDTO;

import java.util.List;

/**
 * @author fyy
 * @version 1.0
 * @description
 * @date 2024/7/21 11:46
 */
public interface TeachPlanService {
     /**
      * @description 查询某课程的课程计划，并组成树形结构
      * @param courseId
      * @return
      */
     public List<TeachPlanDTO>  selectTreeNodes(Long courseId);

     /**
      * 新增或更新课程计划
      * @param addOrUpdateTeachPlanDTO
      */
     public void addOrUpdate(AddOrUpdateTeachPlanDTO addOrUpdateTeachPlanDTO);

     public String deleteById(Long teachPlanId);
}
